package com.qijian.maindata.domain.vo;

import com.qijian.common.annotation.Excel;
import com.qijian.common.annotation.Excels;
import com.qijian.maindata.domain.LineProcessTime;
import lombok.Data;
import lombok.ToString;

/**
 * 用工量对象
 *
 * @author qijian
 * @date 2021-10-08
 */

@Data
@ToString
public class LineProcessTimeVo extends LineProcessTime{

    @Excels({
            @Excel(name = "工序编号", targetAttr = "processCode", sort = 1),
            @Excel(name = "物料编号", targetAttr = "bomDetail.itemCode", sort = 2),
            @Excel(name = "图号", targetAttr = "bomDetail.drawingNo", sort = 3),
            @Excel(name = "件号", targetAttr = "bomDetail.partNo", sort = 4),
            @Excel(name = "名称", targetAttr = "bomDetail.itemName", sort = 5),
            @Excel(name = "工序类型", targetAttr = "processTypeName", sort = 6),
            @Excel(name = "工序", targetAttr = "processName", sort = 8),
            @Excel(name = "工艺要求", targetAttr = "remark", sort = 8),
            @Excel(name = "工时", targetAttr = "workWaitTime", sort = 9),
            @Excel(name = "工价", targetAttr = "workCost", sort = 10),
            @Excel(name = "数量", targetAttr = "count", sort = 11),
            @Excel(name = "分配班组", targetAttr = "workTeam", sort = 17)
    })
    private LineProcessVo lineProcess;
}
